<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script>
        //1.逻辑 与 && 两侧都为true 结果才是 true 只要有一侧为false  结果就为false
        console.log(3 > 5 && 3 > 2); //false
        console.log(3 < 5 && 3 > 2); //true
        //2.逻辑 或 || or 两侧都为false 结果才是 false 只要一侧为true 结果就是true
        console.log(3 > 5 || 3 > 2); //true
        console.log(3 > 5 || 3 < 2); //false
        //3.逻辑 非 not ！
        console.log(!true); //false
        console.log(!false); //true
    </script>
</head>
<body>
    
</body>
</html>